package com.test;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@Slf4j
@SpringBootApplication
@MapperScan("com.test.mapper")
public class Springboot3MybatisPlusOptimisticLockApplication {

    private static final Logger log = LoggerFactory.getLogger(Springboot3MybatisPlusOptimisticLockApplication.class);

    public static void main(String[] args) {
        try {
            final SpringApplication sa = new SpringApplication(Springboot3MybatisPlusOptimisticLockApplication.class);
            sa.run(args);
        } catch (final Exception e) {
            log.error("boot up fail :", e);
        }
    }
}
